package com.lupan.passwordbox.common.base;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 说明：
 *
 * @author lupan
 * @version 2017/8/18 14:56
 */
@ApiModel("基本实体")
public abstract class BaseEntity implements Serializable {

    @ApiModelProperty("实体唯一标识ID")
    protected long id;
    @ApiModelProperty("实体创建时间")
    protected Date createdTime;
    @ApiModelProperty("实体更新时间")
    protected Date updatedTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }
}
